/*
 *    Copyright (c) 2018-2025, proj All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 * Neither the name of the proj developer nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 * Author: proj
 */

package com.ykht.proj.activity.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 活动商品
 *
 * @author proj code generator
 * @date 2020-12-25 15:21:19
 */
@Data
@TableName("cn_activity_goods")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "活动商品")
public class CnActivityGoods extends Model<CnActivityGoods> {
private static final long serialVersionUID = 1L;

    /**
     * 
     */
    @TableId
    @ApiModelProperty(value="")
    private Long id;
    @ApiModelProperty(value="活动id")
    private Long actMallId;
    /**
     * 0主商品1更多商品
     */
    @ApiModelProperty(value="0主商品1更多商品")
    private Integer type;
	@ApiModelProperty(value="0上架1下架")
	private Integer display;
    /**
     * 排序
     */
    @ApiModelProperty(value="排序")
    private Integer sort;
    /**
     * 图片
     */
    @ApiModelProperty(value="图片")
    private String pic;
    /**
     * 商品名称
     */
    @ApiModelProperty(value="商品名称")
    private String name;
    /**
     * 本平台价格（元）
     */
    @ApiModelProperty(value="本平台价格（元）")
    private BigDecimal price;
    /**
     * 京东价格（元）
     */
    @ApiModelProperty(value="京东价格（元）")
    private BigDecimal jdPrice;
    /**
     * 规格
     */
    @ApiModelProperty(value="规格")
    private String specs;
    @ApiModelProperty(value="京东规格")
    private String jdSpecs;
    /**
     * 商品详情
     */
    @ApiModelProperty(value="商品详情")
    private String detail;
    @ApiModelProperty(value="描述")
    private String goodsDescribe;
    /**
     * 商品分享图
     */
    @ApiModelProperty(value="商品分享图")
    private String sharePic;
    /**
     * 商品分享文案
     */
    @ApiModelProperty(value="商品分享文案")
    private String shareWords;
    /**
     * 创建人
     */
    @ApiModelProperty(value="创建人")
    private Long createUser;
    /**
     * 修改人
     */
    @ApiModelProperty(value="修改人")
    private Long updateUser;
    /**
     * 创建时间
     */
    @ApiModelProperty(value="创建时间")
    private LocalDateTime createTime;
    /**
     * 更新时间
     */
    @ApiModelProperty(value="更新时间")
    private LocalDateTime updateTime;
    /**
     * 0可用1删除
     */
	@TableLogic
    @ApiModelProperty(value="0可用1删除")
    private Integer delFlag;
    /**
     * 租户ID
     */
    @ApiModelProperty(value="租户ID",hidden=true)
    private Integer tenantId;
    }
